<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>心理学小词典</title>
    <style>
        *{
            padding: 0;
            margin: 0;
            color: #222;
            font-family: "PingFang SC", Arial, "Microsoft YaHei", sans-serif;
        }
        body{
            width: 100%;
            background-color:rgb(245,245,245);
        }
        .header{
            font-size: 15px;
            height: 60px;
            display: block;
            background-color: #5F98C5;;
        }
        li{
            list-style: none;
        }
        a{
            text-decoration: none;
        }
        .nav-right{
            float: right;
            overflow: hidden;
            margin-right: 20px;
        }
        .nav-right ul li{
            float: left;
            padding: 8px;
            margin-top: 10px;
            margin-left: 5px;
            overflow: hidden;
        }
        .nav-right ul li a{
            color:white;
            font-size: 14px;
        }
        .main{
            text-align: center;
        }
        .kuang{
            text-align: center;
            width: 750px;
            height: 72px;
            margin: 5px 0px 0px 160px;
        }
        .main .kuang span{
            font-family: 宋体;
            padding: 10px 8px;
            font-size: 35px;
            float: left;
        }
        #kuang-l{
            width: 420px;
            height: 10px;
            padding: 12px 16px;
            font-size: 16px;
            margin: 0;
            border-radius: 10px 0 0 10px;
            border: 2px solid #5F98C5;
            float: left;
            border-right: none;
            overflow: hidden;
        }
        #kuang-l:focus{
            border-radius: 10px 0 0 10px;
        }
        #kuang-r{
            height: 38px;
            padding: 5px 5px;
            width: 70px;
            font-size:18px;
            margin: 0;
            border-radius: 0 10px 10px 0;
            background-color: #5F98C5;
            color: white;
            float: right;
            overflow: hidden;
            border: none;
        }
        .content{
            text-align: center;
        }
        .con-l{
            display: block;
            float: left;
            overflow: hidden;
            padding: 5px 0px;
            /* border: solid 1px blue; */
            font-size: 14px;
            color: #545454;
        }
         .kuang .hot ul{
            display: flex;
            justify-content: space-between;
            width: 260px;
            height: 100%;
            padding: 5px 2px;
        }
        .kuang .hot ul li{
            height: 100%;
        }
        .kuang .hot ul li a{
            color: #545454;
            font-size: 14px;
        }
        .box{
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-top: 5px;
            height: 550px;
            width: 95%;
            margin: auto;
            border-bottom: none;
            border:solid 1px rgb(202, 214, 202);
            background-color: rgb(255,255,255);
        }
        .box .left{
            margin-top: 35px;
            height: 500px;
            width: 200px;
            border-right: solid 1px rgb(126, 129, 126);

        }
        .box .center{
            margin-top: 25px;
            height: 500px;
            width:650px;
            border-right: solid 1px rgb(126, 129, 126);
        }
        .box .right{
            margin-top: 10px;
            height: 500px;
            width: 320px;
        }
        ul>li{
            display: block;
        }
        .box .left h1{
            margin-top: 0px;
            font-size: 22px;
            color: #282828;
            float: left;
            padding: 0px 70px 0px 85px;
        }
        .box .left ul{
            float: right;
            padding: 0px 20px;
        }
        .box .left ul>li{
            margin-top: 16px;
            font-family: 苹方;
            font-size: 16px;
            color: #545454;
        }
        .box .center h1{
            margin-top: 25px;
            color: #282828;
            padding: 0px 40px;
            font-family: 宋体;
            font-size: 22px;
        }
        .box .center .wenzi1{
            width: 60%;
            height: 25px;
            margin: auto;
        }
        .box .center .wenzi1 h1{
            margin-top: 10px;
            font-family: 幼圆;
            text-align: center;
            font-size: 21px;
            color: rgb(84, 108, 153);
            }
        .box .center .wenzi2,.box .center .wenzi3{
            width: 82%;
            margin: auto;
            margin-top: 20px;
        }
        .box .center .wenzi2 span,.box .center .wenzi3 span{
            margin-top: 10px;
            font-family: 幼圆;
            text-align: center;
            font-size: 14px;
            color: rgb(84, 108, 153);
        }
        .box .right .picture{
            width:280px;
            height:400px;
            margin-top: 65px;
            margin-left: 13px;
        }
        .box .right .picture img{
            width: 100%;
        }
        input{
            outline:none;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="nav-right">
            <ul>
                <li action="">
                    <a href="http://127.0.0.1:8000/buddha/home2">首页</a>
                </li>
                <li action="{% url 'knowledge' %}">
                    <a href="http://127.0.0.1:8000/buddha/knowledge">心理学知识</a>
                </li>
                <li action="{% url 'history' %}">
                    <a href="http://127.0.0.1:8000/buddha/history">心理学故事</a>
                </li>
                <li action="{% url 'organization' %}">
                    <a href="http://127.0.0.1:8000/buddha/organization">组织</a>
                </li>
                <li action="{% url 'aboutus' %}">
                    <a href="http://127.0.0.1:8000/buddha/aboutus">关于我们</a>
                </li>
            </ul>
        </div>
    </div>
    <div class="main">
        <div class="kuang">
            <span>心理学小词典</span>
            <form action="{% url 'display' %}">
                <input type="text" name="text" id="kuang-l" value="" placeholder="请输入搜索内容"/>
                <input type="submit" id="kuang-r" class="bg-r" value="搜索">
            </form>
            <div class="con-l">热门搜索：</div>
            <div class="hot">
                        <ul>
                            <li action="{% url 'reone' %}"><a href="http://127.0.0.1:8000/buddha/reone">抑郁症</a></li>
                            <li action="{% url 'retwo' %}"><a href="http://127.0.0.1:8000/buddha/retwo">分裂型人格障碍</a></li>
                            <li action="{% url 'rethree' %}"><a href="http://127.0.0.1:8000/buddha/rethree">创伤后应激障碍</a></li>
                        </ul>
            </div>
        </div>

    </div>
    <div class="box">
        <div class="left">
            <h1>目录</h1><br>
            <ul>
                <li>症状名称</li>
                <li>症状描述</li>
                <li>症状分析</li>
            </ul>
        </div>

        <div class="center">
            <h1>症状名称 :</h1>
            <div class="wenzi1">
                <h1>
                    创伤后应激障碍
                </h1>
            </div>
            <h1>症状描述：</h1>
            <div class="wenzi2">
                <span >
                    创伤后应激障碍（PTSD）是指个体经历、目睹或遭遇到一个
                    或多个涉及自身或他人得实际死亡，或受到死亡威胁，或严重得伤害，
                    或躯体完整性受到威胁后所导致得个体延迟出现和持续存在得精神障碍。
                </span>
            </div>
            <h1>症状分析：</h1>
            <div class="wenzi3">
                <span>
                    PTSD得发生与很多因素相关联，这些因素主要分为家庭、
                    社会心理因素和生物学因素。其中重大创伤性事件是PTSD发病得基本条件，
                    及有极大的不可预期性。
                </span>
            </div>
        </div>

        <div class="right">
            <div class="picture"><img src="/statics/imgs/PTSD.jpg"></div>
        </div>

    </div>
</body>
</html>